I. Brief description
MD5: All called message digest algorithm 5 (Information digest algorithm), can be encrypted, but not decrypted, belong to one-way encryption, usually used for file verification
BASE64: The 8-bit byte of any sequence is
/*** Class Name: md5digest * Description: MD5 public parameters used for password encryption * Written on: 2001/03/05 * Modifier: * Modify information: * @ Author edgarlo edgarlo@china.com* @ Version 1.0 */
Import java. Security.
Algorithm series 9 MD5, algorithm 9 md5
MD5 is the Message-Digest Algorithm 5 (Information-Digest Algorithm 5), which is used to ensure the integrity and consistency of information transmission. It is one of the widely used Hash Algorithms in
MD5 's full name is Message-digest algorithm 5, developed by the MIT Computer Science Lab and RSA Data Security Inc in the early 90, with the development of MD2, MD3 and MD4.MD5 transforms any length of "byte string" into a large integer of 128bit,
Package com.mi.util;/*** Md5+salt Length of 32 encryption* @author Admin**/public class MD5 {public static void Main (string[] args) {MD5 MD5 = new MD5 ();Md5.getmd5ofstr ("799549598txj/");/*** First time: 8C40EBEEFA2085F6E420F3E1493670EC 32* Second
Lai Yonghao (http://laiyonghao.com)
Md5.digest Introduction
MD5 Algorithm (http://en.wikipedia.org/wiki/MD5) has been one of the most widely used information digest algorithm, commonly used to check errors, such as the command md5sum.
$ md5sum
Cryptographic Java MD5 Encryption class
MD5 algorithm is a good security of the algorithm for irreversible encryption of data, and it is adopted in the secure payment platform such as Shoushin in China.
The source code is as follows
/**************
// Start the content of the md5.h header file
# Pragma once
# Define uchar unsigned charTypedef unsigned char * pointer;Typedef unsigned short int uint2;Typedef unsigned long int uint4;# Define proto_list (list) List
// MD5 context.Typedef struct md5
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.